from pydantic import BaseModel


class RecognizeSoCommand(BaseModel):
    command: str
    data: str


class RecognizeBase(BaseModel):
    Section: str | None = None
    Position: float | None = None
    Description: str
    Model: str | None = None
    Index: str | None = None
    Provider: str | None = None
    Units: str | None = None
    Quantity: float
    MassOfUnits: str | None = None
    Note: str | None = None
